<template>
    <WiCard>
        <van-highlight :keywords="keywords" :source-string="text" />
    </WiCard>
</template>
<script setup>
   defineOptions({
    name: "HighLight"
   })
   defineProps({
    text: {
      type: String,
      required: true
    },
    keywords: {
      type: Array || String,
      required: true
    }
   })
</script>
<style lang="">
    
</style>